package com.sinven.pojo;

import java.util.Date;

/**
 * 内容
 * @author admin
 *
 */
public class Content {
 
	
	private Long tid;
	
	private String tcontent;
	
	private String tcontentheader;
	
	private Classification classification;
	
	private Date tcreationtime;
	
	private String author;
	
	private User user;
	
	private Integer roof;
	
	private Long commentCount;
	
	
	
	public Long getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(Long commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getRoof() {
		return roof;
	}

	public void setRoof(Integer roof) {
		this.roof = roof;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Long getTid() {
		return tid;
	}

	public void setTid(Long tid) {
		this.tid = tid;
	}

	public String getTcontent() {
		return tcontent;
	}

	public void setTcontent(String tcontent) {
		this.tcontent = tcontent;
	}

	public String getTcontentheader() {
		return tcontentheader;
	}

	public void setTcontentheader(String tcontentheader) {
		this.tcontentheader = tcontentheader;
	}

	
	

	public Classification getClassification() {
		return classification;
	}

	public void setClassification(Classification classification) {
		this.classification = classification;
	}

	public Date getTcreationtime() {
		return tcreationtime;
	}

	public void setTcreationtime(Date tcreationtime) {
		this.tcreationtime = tcreationtime;
	}

	@Override
	public String toString() {
		return "Content [tid=" + tid + ", tcontent=" + tcontent + ", tcontentheader=" + tcontentheader
				+ ", classification=" + classification + ", tcreationtime=" + tcreationtime + ", author=" + author
				+ "]";
	}
	
	
}
